a<template>
    <div class="loan-info-page">
        <mt-header class="page-header" fixed title="标题过长会隐藏后面的内容啊哈哈哈哈">
            <router-link to="/" slot="left">
                <mt-button icon="back">返回</mt-button>
            </router-link>
            <mt-button icon="more" slot="right"></mt-button>
        </mt-header>
        <div class="hedaer-bg-color"></div>
        <!-- <ve-ring :data="chartData" :settings="chartSettings" ></ve-ring> -->
    </div>
</template>

<script>

//底层
import Vue from 'vue';

//图表
import Vering from 'v-charts/lib/ring.common';
Vue.component(Vering.name, Vering);

//头部
import { Header,Button } from 'mint-ui';
Vue.component(Header.name, Header);
Vue.component(Button.name, Button);

export default {
    data(){
        this.chartSettings = {
            radius: [70, 100],
            label:{
                show:false
            },
            legendLimit:0
            
        }
        return{
            chartData: {
                columns: ['费用标题', '金额'],
                rows: [
                    { 
                        '费用标题': '利息和费用', '金额': 1393 ,
                        itemStyle:{
                            color:'#FF9A26',
                        },
                    },
                    { 
                        '费用标题': '到账金额', '金额': 3530 ,
                        itemStyle:{
                            color:'#479EF8',
                        },
                    },
                ]
            }
        }
    },
    mounted:function (){

    },
    methods:{

    }
}
</script>

<style lang="scss">
    .hedaer-bg-color{
        height: 80px;
        width: 100%;
        background: linear-gradient(to bottom right, #00a4ff , #0059ff);
        position: absolute;
        top: 0;
        left: 0;
    }
    .loan-info-page{
        padding-top: 40px;
        .page-header{
            background: none;
        }
    }
</style>



